/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
    config.image_previewText=' ';
    // config.filebrowserUploadUrl = '/image/find'+1;
    // config.filebrowserImageUploadUrl = "/image/add";
    config.removeDialogTabs = 'image:advanced;image:Link'; //图片上传去掉链接和高级选卡项
    // Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
    // config.toolbar = 'Basic';
    // config.toolbar = 'Full';
    // config.toolbar_Full = [
     //    ['Source','-','Save','NewPage','Preview','-','Templates'],
     //    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
     //    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
     //    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
     //    '/',
     //    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
     //    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
     //    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
     //    ['Link','Unlink','Anchor'],
     //    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
     //    '/',
     //    ['Styles','Format','Font','FontSize'],
     //    ['TextColor','BGColor']
    // ];
    //简化版本
    config.toolbar = 'Basic';
    config.toolbar = 'Full';
    // config.toolbar_Full = [
    //     ['Cut','Copy','Paste','PasteText'],
    //     ['Undo','Redo','-','Find','Replace','-','SelectAll'],
    //     ['Bold','Italic','Underline','-','Subscript','Superscript'],
    //     '/',
    //     ['NumberedList','BulletedList'],
    //     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    //     ['Link','Unlink'],
    //     ['Image','Smiley','SpecialChar'],
    //     '/',
    //     ['Styles','Format','Font','FontSize'],
    //     ['TextColor','BGColor','Maximize']
    //
    // ];
    //工具栏是否可以被收缩
    config.toolbarCanCollapse = true;
};
